Could not load file orassembly 'System.Web.Helpers'
or one of its dependencies. The locatedassembly's
manifest definition does not match the assembly reference.
(Exception from HRESULT: 0x80131040)
Description: Anunhandled exception occurred during the execution of the current web request.Please review t
he stack trace for more information about the error and where itoriginated in the code.
Exception details:System.IO.FileLoadException:Could not load file or assembly 'System.Web.Helpers'
or one of itsdependencies. The located assembly's manifest definition does not match the
assembly reference. (Exception from HRESULT: 0x80131040)
You need to Uninstall Microsoft Aspnet mvc from the project by using Package manager console and reinstall it.
Uninstall-Package Mictrosoft.AspNet.Mvc
You can also remove the installed package by deleting the following command from the package.config.
<package id="Microsoft.AspNet.Razor" version="3.2.3" targetFramework="net45" />
Reinstall package by using the command,
PM> Install-Package Mictrosoft.AspNet.Mvc
Post your comments / questions
Recent Article
- The request was aborted: Could not create SSL/TLS secure channel -Error in Asp.net
- FieldError: Cannot resolve keyword 'id' into field in Django project
- How to hide the ID field from the Django admin?
- It is impossible to add a non nullable field without specifying a default. Django error
- ImportError: cannot import name 'url' from 'django.conf.urls' - Django Error
- How to Enable Virtualization in BIOS Security Settings in Intel Processors For Android Studio?
- Dependency 'androidx.activity:activity:1.8.0' requires libraries and applications that depend on it.
- AttributeError: 'NoneType' object has no attribute 'get_text' - Python
Related Article